using UnityEditor;
using UnityEngine;
using System.Collections.Generic;
using System.Collections;
using Sirenix.OdinInspector;
using Sirenix.OdinInspector.Editor;
using Sirenix.Utilities;
using Sirenix.Utilities.Editor;
using System;

[Serializable]
public class Tesla
{
    Sprite sprite;
    [PreviewField(Height = 100)]
    public Sprite Sprite
    {
        get { return sprite; }
        set { sprite = value; }
    }

    [PreviewField(Height = 100)]
    public Texture2D Texture;

    [PreviewField(Height = 100),InlineEditor(InlineEditorModes.LargePreview)]
    public GameObject GameObject;

    [PreviewField(Height = 100)]
    public Material Material;

    public int tesla;
}

public class TestShow : SerializedScriptableObject
{
    [DictionaryDrawerSettings(KeyLabel = "Key", ValueLabel = "Value")]
    public Dictionary<string, Tesla> dic; // = new Dictionary<string, Tesla>();
}